<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../css/bootstrap.css">
    <title>Bootstrap按钮</title>
</head>
<body>
    <div class="container">
        <!-- 填充按钮 -->
        <button type="button" class="btn btn-primary">Primary</button>
        <button type="button" class="btn btn-secondary">Secondary</button>
        <button type="button" class="btn btn-success">Success</button>
        <button type="button" class="btn btn-danger">Danger</button>
        <button type="button" class="btn btn-warning">Warning</button>
        <button type="button" class="btn btn-info">Info</button>
        <button type="button" class="btn btn-light">Light</button>
        <button type="button" class="btn btn-dark">Dark</button>
        <hr>
        <!-- 只有边框的按钮 -->
        <button type="button" class="btn btn-outline-primary">Primary</button>
        <button type="button" class="btn btn-outline-secondary">Secondary</button>
        <button type="button" class="btn btn-outline-success">Success</button>
        <button type="button" class="btn btn-outline-danger">Danger</button>
        <button type="button" class="btn btn-outline-warning">Warning</button>
        <button type="button" class="btn btn-outline-info">Info</button>
        <button type="button" class="btn btn-outline-light">Light</button>
        <button type="button" class="btn btn-outline-dark">Dark</button>
        <hr>
        <!-- 控制按钮的大小 -->
        <button type="button" class="btn btn-info btn-lg">Info</button>
        <button type="button" class="btn btn-info">Info</button>
        <button type="button" class="btn btn-info btn-sm">Info</button>
        <hr>
        <!-- 按钮块 -->
        <!-- 默认情况下按钮的长度由里面的内容撑开，内容越多就越长 -->
        <!-- 要创建块元素的按钮需要添加.btn-block -->
        <div class="row">
            <div class="col-3">
                <button type="button" class="btn btn-danger btn-block">col-3</button>
            </div>
            <div class="col-6">
                <button type="button" class="btn btn-danger btn-block">col-6</button>
            </div>
            <div class="col-3">
                <button type="button" class="btn btn-danger btn-block">col-3</button>
            </div>
        </div>
        <hr>
        <!-- 活跃状态的按钮 -->
        <button type="button" class="btn btn-primary active">Primary</button>
        <!-- 禁用状态的按钮 -->
        <button type="button" class="btn btn-primary disabled">Primary</button>
    </div>
    
</body>
</html>